package com.gsm.log;

import java.util.Date;

public class MyLogger {
	private MyLogger() {
	}

	public static void log(Object obj) {
		if (obj==null){
			return;
		}
		System.out.println("[Time:" + new Date().getTime() + "]---[MyLogger:]" + obj.toString());
	}

	public static void log(String timing, Object obj) {
		if (obj==null){
			return;
		}
		System.out.println("[Time:" + new Date().getTime() + "]---[MyLogger-Timing:" + timing + "]---[MyLogger-Data:" + obj.toString() + "]");
	}

	public static void separator(){
		System.out.println();
		System.out.println("------------------------------------");
		System.out.println();
	}
}
